from model import BaseModel, models


class Departments(BaseModel):
    name = models.CharField(max_length=128, unique=True, verbose_name="部门名称")
    boos_id = models.IntegerField(unique=True, verbose_name="部门负责人")

    class Meta:
        db_table = 'departments'
        verbose_name = '部门管理'
        verbose_name_plural = verbose_name
